﻿using System;
using System.Collections.Generic;
using System.Text;
using SHKF.B2C.MeiTuanPeiSong.Model.Request;

namespace SHKF.B2C.MeiTuanPeiSong.Model.CallBack
{
    /// <summary>
    /// 定单状态回调
    /// </summary>
    public class CBOrderStatus : AbstractRequest
    {
        private long _delivery_id = 0;
        /// <summary>
        /// 配送活动标识
        /// </summary>
        public long delivery_id
        {
            get { return _delivery_id ; }
            set { _delivery_id = value; }
        }

        /// <summary>
        /// 美团配送内部订单id，最长不超过32个字符
        /// </summary>
        public string mt_peisong_id { get; set; }

        /// <summary>
        /// 外部订单号，最长不超过32个字符
        /// </summary>
        public string order_id { get; set; }

        /// <summary>
        /// 状态代码，可选值为0：待调度 20：已接单 30：已取货 50：已送达 99：已取消 
        /// </summary>
        public int status { get; set; }

        private string _courier_name = "";
        /// <summary>
        /// 配送员姓名
        /// </summary>
        public string courier_name
        {
            get { return _courier_name; }
            set { _courier_name = value; }
        }

        private string _courier_phone;
        /// <summary>
        /// 配送员电话
        /// </summary>
        public string courier_phone
        {
            get { return _courier_phone; }
            set { _courier_phone = value; }
        }

        private int _cancel_reason_id;
        /// <summary>
        /// 取消原因id
        /// </summary>
        public int cancel_reason_id
        {
            get { return _cancel_reason_id; }
            set { _cancel_reason_id = value; }
        }

        private string _cancel_reason;
        /// <summary>
        /// 取消原因详情，最长不超过256个字符
        /// </summary>
        public string cancel_reason
        {
            get { return _cancel_reason; }
            set { _cancel_reason = value; }
        }


        private string _predict_delivery_time;
        /// <summary>
        /// 订单预计送达时间
        /// </summary>
        public string predict_delivery_time
        {
            get { return _predict_delivery_time; }
            set { _predict_delivery_time = value; }
        }

    }
}
